﻿#ifndef TCPTHREAD_H
#define TCPTHREAD_H

#include <qthread.h>

class TcpIOer;
class TcpThread : public QThread
{
  Q_OBJECT
private://property
  qintptr socketDescriptor=0;
public:
  explicit TcpThread();
  virtual ~TcpThread();
signals:
  void signal_newTcpCreated(TcpIOer* tcpIOer);
public:
  void startNewTcp(qintptr socketDescriptor);
protected:
  virtual void run() override;
};

#endif // TCPTHREAD_H
